package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qk.entity.Course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 * @author sch
 * @version 1.0
 * @since 2025-10-09-10:42
 */
@Mapper
public interface CourseMapper extends BaseMapper<Course> {



   /* void insert(Course course);

    void deleteById(Integer id);

    Course selectById(Integer id);

    void update(Course course);

    List<Course> selectByCondition(CourseDTO courseDTO);*/

    List<Course> listAllCourses();

    List<Course> selectBySubject(Integer subject);

}
